var express = require("express");
var router = express.Router();
// 路由
const {
  banner,
  notice,
  questionbank,
  tool,
  classification,
  classify,
} = require("../../../controller/weixin/api");

/* GET 首页 - banner数据  */
router.use("/banner", banner);
/* GET 首页 - notice数据  */
router.use("/notice", notice);
/* GET 首页 - questionbank数据  */
router.use("/questionbank", questionbank);
/* GET 首页 - tool数据  */
router.use("/tool", tool);
/* GET 首页 - classification数据  */
router.use("/classification", classification);
/* GET 首页 - classify数据  */
router.use("/classify", classify);

// 暴露router
module.exports = router;
